import api from './index'

// 表单下拉框数据输入时请求接口
export default {
	getDemandList: (params) => api.get('/system/car/demand/list', params),
	// 发布货找车需求
	relaseFindCar: (params) => api.post('/system/car/demand', params),
	// 发布车找货需求
	relaseFindGood: (params) => api.post('/system/good/demand', params),
	// 车找货列表
	getGoodDemandList: (params) => api.get('/system/good/demand/list', params),
	// 货找车详情
	getDemandDetail: (id) => api.get('/system/car/demand/' + id),
	// 新增报价
	addQuote: (params) => api.post('/system/quote', params),
	// 查询报价
	queryQuoteList: (params) => api.get('/system/quote/findCarQuote', params),
	// 车找货详情
	getGoodDetail: (id) => api.get('/system/good/demand/' + id),
	// 查询联系列表
	getLogList: (params) => api.get('/system/log/mylist', params),
}